#include <bits/stdc++.h>
using namespace std;

int main(int argc, char *argv[]){
        double  ps = 0.0, pso=0.0,pb=0.0,pt=0.0, send,solve,bring,total;
        for(int i=0; i<10;i++){
            cin>>send>>solve>>bring>>total;
            ps+=send; pso+=solve; pb+=bring; pt+=total;
        }
        ps/=10.0; pso/=10.0; pb/=10.0; pt/=10.0;
        cout<<ps<<endl;
        cout<<pso<<endl;
        cout<<bring<<endl;
        cout<<total<<endl;
        return 0;
}
